
/* Define to prevent recursive inclusion -------------------------------------*/
#ifndef __CPU_H
#define __CPU_H

#include <stdint.h>

typedef struct
{
	char name[20];
	unsigned int user;
	unsigned int nice;
	unsigned int system;
	unsigned int idle;
	unsigned int iowait;
	unsigned int irq;
	unsigned int softirq;

} dev_cpu_info_t;

typedef struct
{
	char name[64];
	char cpu_usage[64];
	char mem_usage[64];

} dockerType;

extern dockerType *dockerConfig;

extern uint8_t get_cpuUsage(void);
extern uint8_t cpu_scanDocker(void);
extern uint8_t get_memUsage(void);
extern uint8_t get_flashUsage(char *result);


#endif /* __CPU_H */
